* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body, html {
    max-width: 100vw;
    height: 100%;
    background-color: black;
}
.module {
    max-width: 100vw;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* background-color: black; */
}

/* 模块 1 样式 */
#module1.banner {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#module1 .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 确保图片覆盖整个容器 */
    display: block;
}

#module1 .text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff; /* 假设背景图较暗，使用白色文字 */
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.741) 25%, rgba(0, 0, 0, 0.659) 25%, rgba(0, 0, 0, 0.747)); /* 渐变背景 */
    padding: 2rem;
    border-radius: 8px;
}

#module1 .text-overlay h1{
    margin: 30px 0;
    font-size: 50px;
}
#module1 .text-overlay h2{
    margin: 30px 0;
    font-size: 25px;
}
#module1 .text-overlay p{
    margin: 30px 0;
    font-size: 20px;
    font-weight: bold;
}
#module1 .text-overlay .contact-button {
    margin: 30px 0;
    font-size: 30px;
    font-weight: bold;
    color: black;
    display: inline-block;
    padding: 0.5rem 2rem;
    text-decoration: none;
    background-color:white;
    border-radius: 40px;
    transition: background-color 0.3s ease;
}

#module1 .text-overlay h2 span::before,
#module1 .text-overlay h2 span::after {
    content: '';
    display: inline-block;
    width: 300px;
    height: 3px;
    background-color: #fff;
    vertical-align: middle;
    margin: 0 0.5rem;
}

#module1 .contact-button:hover {
    background-color: #0056b3;
}

/* 模块 2 样式 */
#module2.buttons {
    text-align: center;
    height: 50vh;
    background-color: white;
    /* border: 2px solid #007bff; */
    padding-top: 6rem;
    border-radius: 0 0 140px 140px;
}

.button-group {
    display: inline-flex;
    justify-content: space-around;
    width: 75%;
    margin: 0 auto; /* 确保水平居中 */
    gap: 3rem;
}

.buttonn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    padding: 1.5rem 2.5rem;
    transition: transform 0.2s ease-in-out;
    background-color: black;
    color: white;
    border-radius: 30px;
    width: 200px;

}

.buttonn:hover {
    transform: scale(1.1); /* 鼠标悬停时放大 */
}

.vector-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.5rem;
}

.button-title {
    font-weight: bold;
    font-size: 30px;
}

/* 模块 3 样式 */
#module3.grid-cells {
    padding: 2rem;
    box-sizing: border-box; /* 确保padding不会增加元素的总宽度 */
}

.grid-containerr {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    max-width: 100%; 
    /* border: 2px solid #007bff; */
    padding-top: 4.5rem;
    gap: 7rem;
    column-gap: 5rem;
}

.cell-wrapper {
    position: relative;
    width: 550px;
    min-width: 0; /* 防止内容溢出 */
    box-sizing: border-box; /* 确保padding不会增加元素的总宽度 */
    /* border: 1px solid #ddd; */
    color: white;
}

.cell-title {
    margin-bottom: 0.5rem; /* 添加底部间距以避免与单元格内容重叠 */
    text-align: left; /* 标题左对齐 */
}

.cell{
    max-width: 100%;
    height: 300px;
    display: flex;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.cell-image {
    width: 35%; /* 图片占据单元格宽度的40% */
    object-fit: cover;
}

.text-content {
    max-width: 65%; /* 文字框占据单元格宽度的60% */
    display: flex;
    flex-direction: column;
}

.horizontal-text-boxes {
    display: flex;
    justify-content: space-between; /* 子元素之间均匀分布 */
    margin: 0;
    padding: 0;
}




.span1{
    border: 1px solid #ddd;
    width: 200px;
    padding: 10px 0;
    font-size: 15px;
    display: inline-block; /* 或 block，让 width 生效 */
    word-wrap: break-word;      /* 允许长单词/URL 换行 */
    word-break: break-word;     /* 更积极地断词换行（可选） */
    white-space: normal !important;        /* 允许换行（默认 span 是 nowrap） */
    line-height: 1.4;
    text-align: center; /* 可选：使文字在span内居中 */
}
.span2{
    border: 1px solid #ddd;
    width: 100px;
    display: inline-block; /* 或 block，让 width 生效 */
    word-wrap: break-word;      /* 允许长单词/URL 换行 */
    word-break: break-word;     /* 更积极地断词换行（可选） */
    white-space: normal !important;        /* 允许换行（默认 span 是 nowrap） */
    line-height: 1.4;
    text-align: center; /* 可选：使文字在span内居中 */
}
.top-text-boxes {
    flex-grow: 1;
}

.bottom-text-boxes {
    flex-grow: 1;
}
/* 模块 4 样式 */
#module4.circles {
    padding: 5rem 2rem 2rem 2rem;
    text-align: center;
    background-color: black;
    /* border: 1px solid red; */
}

.circle-group.vertical-circle-group {
    display: flex;
    flex-direction: column; /* 单列布局 */
    gap: 1rem; /* 设置每个单元格之间的间隔 */
}

.circle-item {
    margin: 0; /* 移除默认的边距 */
    padding: 1rem;
    /* border: 1px solid #ddd; */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%; /* 让每个元素占据100%宽度 */
    background-color: black;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}

.logo-text img {
    max-width: 200px;
    height: auto;
}

.logo-text p {
    margin-top: 1rem;
    font-size: 20px;
}

.four-circles{
    display: flex;
    justify-content: center; /* 水平居中 */
    gap: 1rem; /* 设置每个圆圈之间的间隔 */
}
.ten-circles .circle,
.eleven-circles .circle {
    display: inline-block;
    width: 70px;
    height: 70px;
    padding: 25px 0;
    border-radius: 50%;
    background-color: black;
    margin: 0.5rem 1.3rem;
    text-align: center;
    vertical-align: middle;
    border: 2px solid white;
    color: white;
    font-weight: bold;
    overflow: hidden;
}
.four-circles .circle {
    display: flex;
    flex-direction: column;
    align-items: center; /* 水平居中 */
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: black;
    margin:1.5rem 3rem;
    position: relative;
    border: 2px solid white;
    padding: 10px 20px 20px 20px;
}

.four-circles .circle .vector-icon {
    width: 52px;
    height: 52px;
    /* border: 2px solid red; */
    
}

.four-circles .circle .circle-title {
    font-weight: bold;
    line-height: 38px;
    width: 90px;
    height:42px ;
    margin-bottom: 200px;
    border-radius:0 0 50px 50px;
    border: 2px solid black;
    background-color: white;
    
}

.circle span {
    /*display: inline-block;*/
    vertical-align: middle;
    display: block; /* 或 inline-block，让 width 和换行生效 */
    width: 100%; /* 限制最大宽度 */
    white-space: normal; /* 允许换行 */
    word-wrap: break-word; /* 长词换行 */
    line-height: 1; /* 避免行高过大导致溢出 */



}

/* 模块 5 样式 */
#module5.background-image {
    position: relative;
    padding: 5rem 2rem 4rem 2rem;
    text-align: center;
    color: white; /* 假设背景图较暗，使用白色文字 */
    /* border: 1px solid red; */
}

#module5.background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../new_img/主营业务/主营业务背景图1.jpg') no-repeat center center/cover;
    z-index: -1;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.text-contentt {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0 auto;
    /* border: 2px solid red; */
}

.text-contentt h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.text-contentt .highlighted-text {
    display: inline-block;
    position: relative;
    font-size: 25px;
    /* border: 2px solid red; */
    
}

.text-contentt .highlighted-text .spann::before,
.text-contentt .highlighted-text .spann::after {
    content: '';
    display: inline-block;
    width: 400px;
    height: 3px;
    background-color: #fff;
    vertical-align: middle;
    margin: 0 0.5rem;
    /* border: 2px solid red; */
}

.image-with-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid white;
    margin-top: 4rem;
    padding: 4rem 4rem 6.5rem 4rem;
    border-radius: 20px;
    background: rgba(240, 240, 240, 0.1); /* 浅灰色背景 */
}

.case-image {
    width: 300px;
    height: auto;
    border-radius: 8px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
}

.description {
    margin-top: 1rem;
    font-size: 1.2rem;
    line-height: 1.5;
}
/* 模块 6 样式 */
#module6.website-customization {
    max-width: 100%;
    padding: 3rem 2rem 3rem 2rem;
    background-color: black;
    border-bottom: 2px solid white;
}

.content-containerr {
    max-width: 100%;
    margin: 0 auto;
    color: white;
}

.text-contenttt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0 auto;
    /* border: 2px solid red; */
}

.text-contenttt h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.text-contenttt .highlighted-text {
    display: inline-block;
    position: relative;
    font-size: 25px;
}

.text-contenttt .highlighted-text .spann::before,
.text-contenttt .highlighted-text .spann::after {
    content: '';
    display: inline-block;
    width: 400px;
    height: 3px;
    background-color: #fff;
    vertical-align: middle;
    margin: 0 0.5rem;
}

.grid-containerrr {
    display: grid;
    grid-template-columns: 550px 550px; 
    /* border: 2px solid red; */
    margin-top: 4rem;
    gap: 5rem; /* 原有行与列之间的总间距 */
    column-gap: 5rem; /* 仅调整列之间的间隔 */
    justify-content: center;
}

.celll {
    display: flex;
    align-items: stretch;
    border: 2px solid #ddd;
    overflow: hidden;
    width: 550px;
    height: 300px;
}

.celll-image {
    width: 40%; /* 图片占据单元格宽度的40% */
    object-fit: cover;
    padding: 5rem 0;
    text-align: center;
    /* border: 2px solid red; */
}
.celll-imagee{
    width: 170px;
    /* border: 2px solid red; */
   
}
.celll-text {
    padding: 1rem;
    max-width: 60%; /* 文字框占据单元格宽度的60% */
    /* border: 2px solid red; */
}

.celll-text h2 {
    margin-bottom: 1rem;
}

.celll-text p {
    height: 165px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.more-button {
    display: inline-block;
    padding: 0.3rem 1.5rem;
    text-decoration: none;
    border: 2px solid white;
    color: white;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.more-button:hover {
    background-color: #0056b3;
}